# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年10月08日
"""
import pandas as pd

path = '../数据文件/课件011/计算日期.xlsx'
data = pd.read_excel(path, index_col='序号')
feihu = data['结束日期'] - data['起始日期']

data['间隔日期'] = feihu.apply(lambda x: x.days)

print(data)
